package com.hngy.educationaladministration;

import com.hngy.educationaladministration.controller.StudentController;
import com.hngy.educationaladministration.mapper.CourseDao;
import com.hngy.educationaladministration.mapper.CourseMapper;
import com.hngy.educationaladministration.mapper.StudentMapper;
import com.hngy.educationaladministration.service.ClassesService;
import com.hngy.educationaladministration.service.CourseTableService;
import com.hngy.educationaladministration.service.StudentService;
import com.hngy.educationaladministration.service.TeacherService;
import com.hngy.educationaladministration.utils.RedisUtils;
import com.hngy.educationaladministration.utils.WeatherUtil;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;

import javax.sql.DataSource;

@RunWith(SpringRunner.class)
@SpringBootTest
public class test1 {

    @Autowired
    CourseMapper courseMapper;

    @Autowired
    StudentService studentService;

    @Autowired
    WeatherUtil weatherUtil;

    @Autowired
    ClassesService classesService;


    @Autowired
    private DataSource dataSource;

    @Autowired
    private CourseTableService courseTableService;

    @Autowired
    private StudentController studentController;

    @Autowired
    private CourseDao courseDao;

    @Autowired
    private StudentMapper studentMapper;

    @Autowired
    private TeacherService teacherService;

    @Autowired
    private RedisUtils redisUtils;


    @Test
    public void t() {
        redisUtils.setValue("k", "v");
    }

}
